package com.xr.config;

import com.xr.service.impl.HelloServiceImpl;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class Myconfig {

    @Bean
    public HelloServiceImpl helloService(){
        System.out.println("加入了配置");
        return new HelloServiceImpl();
    }

}
